|
AT-NFC
2.1 (win)
AT-NFC kernel set
|
NFC Outcome structs & macros used to handle transaction by EP & Kernels. More...
Data Structures | |
| struct | tag_NFC_OUTCOME_UI |
| Outcome User Interface struct definition, version 0. More... | |
| struct | tag_NFC_OUTCOME |
| Outcome User Interface struct definition, version 0. More... | |
NFC Outcome structs & macros used to handle transaction by EP & Kernels.
| #define NFC_OUTCOME_ALT_MASK_CHIP 0x01 |
contact chip
| #define NFC_OUTCOME_ALT_MASK_MS 0x02 |
magnetic stripe
| #define NFC_OUTCOME_ALT_NA 0x00 |
Outcome alt interface definitions.
n/a
| #define NFC_OUTCOME_CVM_CD_CVM 0x20 |
CD-CVM verified
| #define NFC_OUTCOME_CVM_CUSTOM 0xFF |
Custom CVM requested
| #define NFC_OUTCOME_CVM_NA 0x00 |
Outcome requested CVM definitions.
n/a
| #define NFC_OUTCOME_CVM_NO_CVM 0x1F |
No CVM
| #define NFC_OUTCOME_CVM_ONLINE_PIN 0x02 |
Online PIN requested
| #define NFC_OUTCOME_CVM_SIGNATURE 0x1E |
Signature requested
| #define NFC_OUTCOME_IND_APDU_RRP_TIMEOUT 0x10 |
RRP timeout condition
| #define NFC_OUTCOME_IND_CD_CVM_REQUESTED 0x04 |
Restart by CD-CVM request, EMV Book C-4, 8.2.4.1, and other...
| #define NFC_OUTCOME_IND_EMPTY_CL 0x08 |
Empty candidate list, EMV Book B, 3.3.2.7
| #define NFC_OUTCOME_IND_EMV_MODE 0x02 |
EMV Node Transaction
| #define NFC_OUTCOME_IND_MAND_CPLC_MISSED 0x20 |
mandatory cplc missed
| #define NFC_OUTCOME_IND_MS_MODE 0x01 |
Outcome indicators definitions.
MS Mode Transaction
| #define NFC_OUTCOME_INIT | ( | DATA, | |
| SIZE, | |||
| TRAN_DATA | |||
| ) |
Outcome reset macro definition.
| #define NFC_OUTCOME_OPT_DATA_RECORD 0x0004 |
Data Record provided
| #define NFC_OUTCOME_OPT_DISCRETIONARY_DATA 0x0008 |
Discretionary data provided
| #define NFC_OUTCOME_OPT_FIELD_OFF_REQUEST 0x0020 |
Field off requested
| #define NFC_OUTCOME_OPT_RECEIPT 0x0010 |
Receipt requested
| #define NFC_OUTCOME_OPT_UI 0x0001 |
Outcome options definitions.
UI update requested
| #define NFC_OUTCOME_OPT_UI_RESTART 0x0002 |
UI update on restart requested
| #define NFC_OUTCOME_RESET | ( | DATA, | |
| SIZE | |||
| ) |
Outcome reset macro definition.
| #define NFC_OUTCOME_RESPONSE_ANY 0x02 |
Response with any data expected
| #define NFC_OUTCOME_RESPONSE_EMV_DATA 0x01 |
Response with EMV-data expected
| #define NFC_OUTCOME_RESPONSE_NA 0x00 |
Outcome online response types definitions.
n/a
| #define NFC_OUTCOME_START_TYPE_A 0x01 |
Start A
| #define NFC_OUTCOME_START_TYPE_B 0x02 |
Start B
| #define NFC_OUTCOME_START_TYPE_C 0x03 |
Start C
| #define NFC_OUTCOME_START_TYPE_D 0x04 |
Start D
| #define NFC_OUTCOME_START_TYPE_NA 0x00 |
Outcome start types definitions.
n/a
| #define NFC_OUTCOME_TYPE_APPROVED 0x11 |
Approved
| #define NFC_OUTCOME_TYPE_CUSTOM 0xFA |
Custom Outcome
| #define NFC_OUTCOME_TYPE_DECLINED 0x12 |
Declined
| #define NFC_OUTCOME_TYPE_END_APPLICATION 0xF1 |
End Application
| #define NFC_OUTCOME_TYPE_NA 0x00 |
Outcome types definitions.
n/a
| #define NFC_OUTCOME_TYPE_ONLINE_PIN 0x22 |
Request Online PIN
| #define NFC_OUTCOME_TYPE_ONLINE_REQUEST 0x21 |
Online Request
| #define NFC_OUTCOME_TYPE_SELECT_NEXT 0x01 |
Select Next
| #define NFC_OUTCOME_TYPE_TRY_AGAIN 0x02 |
Try Again
| #define NFC_OUTCOME_TYPE_TRY_ANOTHER_INTERFACE 0x03 |
Try Another Interface
| #define NFC_OUTCOME_UI_CARD_READ_SUCCESS 0x05 |
Card Read Successfully (Remove Card)
| #define NFC_OUTCOME_UI_ERROR_PROCESSING 0x06 |
Processing Error
| #define NFC_OUTCOME_UI_IDLE 0x02 |
Idle
| #define NFC_OUTCOME_UI_INIT | ( | UI, | |
| SIZE, | |||
| TRAN_DATA | |||
| ) |
UI init with lang pref macro definition.
| #define NFC_OUTCOME_UI_MSG_APPROVED 0x03 |
"Approved"
| #define NFC_OUTCOME_UI_MSG_APPROVED_SIGN 0x1A |
"Please, Sign Receipt"
| #define NFC_OUTCOME_UI_MSG_AUTHORISATION_WAIT 0x1B |
"Authorizing, please wait"
| #define NFC_OUTCOME_UI_MSG_BLANK 0x1E |
CLEAR DISPLAY
| #define NFC_OUTCOME_UI_MSG_CARD_READ_OK_REMOVE_CARD 0x17 |
"Card read OK. Remove card"
| #define NFC_OUTCOME_UI_MSG_ENTER_PIN 0x09 |
"Enter PIN"
| #define NFC_OUTCOME_UI_MSG_EXPIRED_DECLINE 0xA1 |
"The application is expired, transaction declined" UPI EMV C-7 4.2.4.5
| #define NFC_OUTCOME_UI_MSG_EXPIRED_ONLINE 0xA0 |
"The application is expired, transaction is going online" UPI EMV C-7 4.2.4.5
| #define NFC_OUTCOME_UI_MSG_INSERT_CARD 0x1D |
"Please insert card"
| #define NFC_OUTCOME_UI_MSG_INSERT_OR_SWIPE_CARD 0x18 |
"Please insert or swipe card"
| #define NFC_OUTCOME_UI_MSG_INSERT_OR_SWIPE_OR_TRY_ANOTHER 0x1C |
"Insert, swipe or try another card"
| #define NFC_OUTCOME_UI_MSG_NA 0xFF |
Outcome User Interface Message ID definitions.
N/A (defined as FF in C-2
| #define NFC_OUTCOME_UI_MSG_NOT_AUTHORISED 0x07 |
"Not authorized"
| #define NFC_OUTCOME_UI_MSG_PRESENT_CARD 0x15 |
"Present card"
| #define NFC_OUTCOME_UI_MSG_PRESENT_CARD_AGAIN 0x21 |
"Present card again"
| #define NFC_OUTCOME_UI_MSG_PRESENT_ONE_CARD_ONLY 0x19 |
"Please present one card only"
| #define NFC_OUTCOME_UI_MSG_PROCESSING 0x16 |
"Processing"
| #define NFC_OUTCOME_UI_MSG_PROCESSING_ERROR 0x0F |
"Processing error"
| #define NFC_OUTCOME_UI_MSG_REMOVE_CARD 0x10 |
"Remove card"
| #define NFC_OUTCOME_UI_MSG_SEE_PHONE_INSTRUCTIONS 0x20 |
"See Phone for Instructions"
| #define NFC_OUTCOME_UI_MSG_WELCOME 0x14 |
"Welcome"
| #define NFC_OUTCOME_UI_NA 0x00 |
Outcome User Interface status types definitions.
n/a
| #define NFC_OUTCOME_UI_NOT_READY 0x01 |
Not Ready
| #define NFC_OUTCOME_UI_PROCESSING 0x04 |
Processing
| #define NFC_OUTCOME_UI_READY_TO_READ 0x03 |
Ready to Read (Present Card)
| #define NFC_OUTCOME_UI_RESET | ( | UI, | |
| SIZE | |||
| ) |
UI reset macro definition.
| #define NFC_OUTCOME_UI_SET_LANG_PREF | ( | UI, | |
| TRAN_DATA | |||
| ) |
UI set lang pref macro definition.
| #define NFC_OUTCOME_UI_VALUE_AMOUNT 0x01 |
amount value qualifier
| #define NFC_OUTCOME_UI_VALUE_BALANCE 0x02 |
balance value qualifier
| #define NFC_OUTCOME_UI_VALUE_NA 0x00 |
UI request struct value qualifiers.
n/a - extra value not present
| #define NFC_OUTCOME_UI_VERSION 0x01 |
leng pref, value qualifier, currency code added...
| #define NFC_OUTCOME_UI_VERSION_0 0x00 |
UI request struct version ID.
base version w/o value qualifier
| #define NFC_OUTCOME_VERSION 0x01 |
version info added...
| #define NFC_OUTCOME_VERSION_0 0x00 |
Outcome struct version ID.
base version w/o version info